-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vignettes #737
Open
f-buerckel
wants to merge
108
commits into
feature/vignettes-longterm
Choose a base branch
from
feature/vignette
base: feature/vignettes-longterm
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Vignettes #737
+2,573
−11
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
…amic form Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
Signed-off-by: Florian <[email protected]>
answer model for single answer to slide of questionnaire, user_answer model to store all answers made by a user on a specific questionnaire.
Signed-off-by: Florian <[email protected]>
-Track how often each info slide was accessed -minor bug fixes
-display error message if form submitting is unsuccessful
-validate content type -fix weird bug with migration date -change config to format error messages differently
Signed-off-by: Florian <[email protected]>
-remove git accidents
Signed-off-by: Florian <[email protected]>
Redesign Vignette UI (init)
add csv handler for vignettes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Vignettes
This pull request is the first of multiple requests to merge vignettes into mampf. While most major features have been implemented, they still lack quality of life and a usable let alone pretty user interface.
Usage
Note
All created questionnaires are found under .../vignettes/questionnaires/
The edit view of a questionnaire lists all slides (by position) and info slides (by title). One can edit a certain slide by clicking on the link, as well as create slides.
A normal slide is part of the linear progression of the questionnaire and can optionally include a question. Question types include text answers, multiple choice answers and a Likert scale. A slide can reference multiple info slides. To select multiple info slides hold ctrl.
An info slide can be referenced by a slide and contains additional information about the slide. This information can be accessed by a user filling out the questionnaire. Each info slide has an icon used as an image for the button that displays the info slide. If this icon is not set, then the title is used.
Note
To fill out a questionnaire navigate to /vignettes/questionnaire/:id/take
Tip
Each user can only fill out a questionnaire once. However this is annoying for testing purposes. Therefore one can currently delete his answer by navigating to /vignettes/questionnaire/:id/take?position=-1 (this is of course only for testing and will be removed)
Additional Features
Statistics
One major feature of questionnaires is the tracking of additional statistics. For each answer the following stats are tracked:
To access these statistics, one can download them in the edit view of a questionnaire as a .csv file.
Unfinished answers
If a user starts filling out a questionnaire but does not finish, their progress is saved. When they return to the questionnaire, they will resume from their last position. This is also used to check that a user can't "cheat" by just setting the position value in the url (e.g /take?position=4)
Known bugs
For reviewers
This feature is limited to very few people for the beginning. Especially the creation of vignettes will be limited to 2 or 3 people. Also the code is for the most part completely disconnected from the codebase. Therefore we may afford some imperfection in the beginning of the release.
Goal for release is the start of the new semester in April 2025.
To-Do's
Essentials
Nice to have